package org.webdb.core;

import java.io.Closeable;

import org.webdb.core.database.Record;

public interface Document extends Closeable {

    Result<Record> getRecords(Filter filter);

    Result<Record> getRecords();

    DocumentRecord save(Record record);

}
